package com.suli.multimedia.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.suli.multimedia.enums.ScenicType;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author SuLi
 * @since 2022-03-29
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("scenic")
public class Scenic implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 景点id
     */
    @TableId(value = "scenic_id", type = IdType.AUTO)
    private Integer scenicId;

    /**
     * 景点名称
     */
    @TableField("scenic_name")
    private String scenicName;

    /**
     * 景点描述
     */
    @TableField("scenic_description")
    private String scenicDescription;

    /**
     * 景点类型
     */
    @TableField("scenic_type")
    private ScenicType scenicType;

    /**
     * 逻辑删除
     */
    @TableField(value = "is_deleted",fill = FieldFill.INSERT)
    @TableLogic
    private Integer isDeleted;
}
